package cn.swust.model;

//订单记录
public class OrderBean {

	private int id;
	private String num;//订单编号
	private String products;//购货产品名称(数量,金额)
	private String consignee;//收货者
	private String time;//下单时间
	private float allPrice;//订单交易金额
	private int status;//订单状态，0 提交等待确认，1确认等待发货，2发货完成订单完成
	private String state;//定单説明
	private String ip;//提交订单时候的用户ip
	private String address;//订单收货地址
	private int useId;//订单的所属用户id
	private String man;//下订单的用户名
	
	public OrderBean(){
		num = "";
		products = "";
		consignee = "";
		time = "";
		allPrice = 0;
		status = 0;
		useId = 0;
		man = "";
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNum() {
		return num;
	}
	public void setNum(String num) {
		this.num = num;
	}
	public String getProducts() {
		return products;
	}
	public void setProducts(String products) {
		this.products = products;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public float getAllPrice() {
		return allPrice;
	}
	public void setAllPrice(float allPrice) {
		this.allPrice = allPrice;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getUseId() {
		return useId;
	}
	public void setUseId(int useId) {
		this.useId = useId;
	}
	public String getMan() {
		return man;
	}
	public void setMan(String man) {
		this.man = man;
	}
}
